#include <iostream>
#include <functional>
#include <mysql/mysql.h>

using namespace std;

class hero
{
private:
    /* data */
    string mHeroName;
public:
    hero(/* args */);
    ~hero();
    int showHero();
    std::string getName();
    void setName(std::string name);
    bool createHero(long key, std::string name, std::string email);
    bool deleteHero(std::string name); 
private:
    bool connectToDatabase();
    bool disconnectFromDatabase();
    MYSQL* mConn;
};

